package com.gillion.grule.client.utils;


import com.gillion.grule.client.exception.SystemRuntimeException;

import java.util.List;

public interface ESBClient {
    Response request(String paramString, Object paramObject);
    Response request(String paramString, Object paramObject, Class paramClass);
    <R> R invoke(String paramString, Object paramObject, Class paramClass) throws SystemRuntimeException;
    @Deprecated
    Response invokeBatch(String paramString, Object paramObject, Class paramClass) throws SystemRuntimeException;

    <T> List<T> invokeBatch(String paramString, Object paramObject, Class paramClass, List<SystemRuntimeException> paramList) throws SystemRuntimeException;
}
